package org.iteasy.framework.commons;

import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;

import java.io.Serializable;

/**
 * Created by bo.chen on 2020/04/27 09:08:14
 */
public class PageParam<T> extends PageRequest implements Serializable {

    public PageParam() {
        super(1,12,Sort.unsorted());
    }

    public PageParam(int page, int size,Sort sort) {
        super(page,size,sort);
    }

    public PageParam(int page, int size) {
        super(page, size, Sort.unsorted());
    }
}
